<?php

class FP_Validation_Exception extends FP_Exception
{
  protected $_errors = array();

  public function __construct($pMessage, $pErrorCode, $pErrors){
    $this->_errors = $pErrors;
    parent::__construct($pMessage, $pErrorCode);
  }

  public function getValidationErrors(){
    return $this->_errors;
  }
}

?>